<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../../v2/common/jspcommon.jsp"%>
<%@include file="../common/oldjscss.jsp"%>
<script type="text/javascript">
<!--
	function productManage(type) {
			clearRushStyle();
		$("#product_menu_"+type).css({"color":"red"});
		switch (type) {
			case '1': {
				$('#product_content').load("/misc/product/readProduct.htm");
				break;
			}
			case '2': {
				$('#product_content').load("/misc/product/addProduct.htm");
				//alert("11111");
				break;
			}
			case '3': {
				$('#product_content').load("/misc/product/readOrder.htm");
				break;
			}
			case '4': {
				$('#product_content').load("/misc/product/addOrder.htm");
				break;
			}
		}
	}
//清除样式
function clearRushStyle(){
	$("#product_menu_1").css({"color":""});
	$("#product_menu_2").css({"color":""});
	$("#product_menu_3").css({"color":""});
	$("#product_menu_4").css({"color":""});
}
//-->
</script>
<div>
	<div id="product_menu">
		
		<a href="javascript:void(0);" onclick="productManage('1')" id="product_menu_1">查询,修改新产品</a>&nbsp;|&nbsp;
		<a href="javascript:void(0);" onclick="productManage('2')" id="product_menu_2">添加新产品</a>&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
		<a href="javascript:void(0);" onclick="productManage('3')" id="product_menu_3">查询,修改用户订单</a>&nbsp;|&nbsp;
		<a href="javascript:void(0);" onclick="productManage('4')" id="product_menu_4">添加用户订单</a>&nbsp;|&nbsp;
	</div>
	<div id="product_content"></div>
</div>
